package com.meilai.project.entity.business.offer;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meilai.project.entity.BaseEntity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 报价表
 * </p>
 *
 * @author xhy
 * @since 2022-01-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("offer")
public class Offer extends BaseEntity {

    /**
     * 行业ID
     */
    private Long industry_id;

    /**
     * 媒体或套餐id
     */
    private Long media_type_spec_price_id;

    /**
     * 折扣
     */
    private BigDecimal discount;

    private Long media_type_spec_id;

    private BigDecimal daily_price;
    private BigDecimal week_price;
    private BigDecimal month_price;

    private Boolean has_price_day;
    private Boolean has_price_week;
    private Boolean has_price_month;

    /**
     * 红线价
     */
    private BigDecimal red_line_price;
}
